package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网络验证对象 sys_wlyz_user
 * 
 * @author zhouchang
 * @date 2024-12-16
 */
public class SysWlyzUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** sys_user的用户user_id */
    @Excel(name = "sys_user的用户user_id")
    private Long userId;

    /** 试用状态（0正常 1停用） */
    @Excel(name = "试用状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 冻结标志（0正常 1冻结） */
    private String delFlag;

    /** 授权时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "授权时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date canLoginDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCanLoginDate(Date canLoginDate) 
    {
        this.canLoginDate = canLoginDate;
    }

    public Date getCanLoginDate() 
    {
        return canLoginDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("canLoginDate", getCanLoginDate())
            .toString();
    }
}
